//
//  UserProfile.h
//  Speedater
//
//  Created by NgoThang on 12/30/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

@interface UserProfile : UIViewController <MBProgressHUDDelegate, UITextFieldDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIActionSheetDelegate, UIPickerViewDelegate, UIPickerViewDataSource>
{
    UIActionSheet *myActionSheet;
    UIControl *curentTargetControl;
    int trafficLightInt;
    BOOL avatarIsChanged;
    BOOL omitSave;
    BOOL keyboardIsShown;
    NSInteger requestMode;
    NSMutableData *responseData;
    MBProgressHUD *HUD;
}

@property (nonatomic, retain) IBOutlet UITabBar *myTabBar;
@property (nonatomic, retain) IBOutlet UIScrollView *myScrollView;
@property (nonatomic, retain) IBOutlet UIImageView *lightImageView, *avatarImageView;
@property (nonatomic, retain) IBOutlet UIButton *lightRedButton, *lightYellowButton, *lightGreenButton, *pickImageButton, *submitButton, *deleteButton, *changePasswordButton;
@property (nonatomic, retain) IBOutlet UILabel *genderLabel, *searchGenderLabel, *ageLabel, *sizeLabel, *weightLabel;
@property (nonatomic, retain) IBOutlet UITextField *placeTextField, *hairColorTextField, *profesionTextField, *hobbiesTextField;
@property (nonatomic, retain) IBOutlet UITextView *aboutMeTextView;

@property (nonatomic, retain) NSMutableArray *dataActionSheet;
@property (nonatomic, retain) NSMutableArray *dataPickerView;

- (IBAction)lightRedButtonClick:(id)sender;
- (IBAction)lightYellowButtonClick:(id)sender;
- (IBAction)lightGreenButtonClick:(id)sender;
- (IBAction)pickImageButtonClick:(id)sender;
- (IBAction)submitButtonClick:(id)sender;
- (IBAction)deleteButtonClick:(id)sender;
- (IBAction)changePasswordButtonClick:(id)sender;

- (void)peseudoReload;

@end
